<?php
/**
 * Copyright © 2013-2017 Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile
/**
 * @var $block \Magento\OfflinePayments\Block\Info\Checkmo
 */
?>
<?php echo $block->escapeHtml($block->getMethod()->getTitle()) ?>
<?php if ($block->getInfo()->getAdditionalInformation()): ?>
    <?php if ($block->getPayableTo()): ?>
        <br /><?php echo $block->escapeHtml(__('Make Check payable to: %1', $block->getPayableTo())) ?>
    <?php endif; ?>
    <?php if ($block->getMailingAddress()): ?>
        <label><?php echo $block->escapeHtml(__('Send Check to:')) ?></label>
        <div class="checkmo-mailing-address">
            <?php /* @noEscape */ echo nl2br($block->escapeHtml($block->getMailingAddress())) ?>
        </div>
    <?php endif; ?>
<?php endif; ?>
